﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FHJ.FHPI.PushNotifications.Library.Types
{
    /// <summary>
    /// Represents a single C2DM message to a specific device.
    /// </summary>
    public class C2DMProcessMessage
    {
        /// <summary>
        /// The push notification message.
        /// </summary>
        public PushMessage PushMessage
        {
            get;
            set;
        }

        /// <summary>
        /// The device registration id to which to send the notification.
        /// </summary>
        public String DeviceRegistrationId
        {
            get;
            set;
        }

        /// <summary>
        /// Indicates whether it is completed.
        /// </summary>
        public Boolean Completed
        {
            get;
            set;
        }

        /// <summary>
        /// Indicates Successor or Error when completed.
        /// </summary>
        public Boolean? Success
        {
            get;
            set;
        }

        /// <summary>
        /// Additional status information.
        /// </summary>
        public String StatusMessage
        {
            get;
            set;
        }
    }
}
